package com.spc.service;

import com.spc.entity.PageResult;
import com.spc.entity.QueryPageBean;
import com.spc.pojo.Role;

import java.util.List;

public interface RoleService {
    void addRole(Role role, Integer[] permissionIds, Integer[] menuIds);

    PageResult findPage(QueryPageBean queryPageBean);

    Role findById(Integer id);

    List<Integer> findIds(Integer id);

    void edit(Role role, Integer[] permissionIds, Integer[] menuIds);

    void delete(Integer id);

    List<Integer> findmenus(Integer id);
}
